﻿
jQuery(document).ready(function () {

    var galleryThumbs = jQuery('.galleryThumbs');

    if (galleryThumbs.length > 0) {

        galleryThumbs.find('img').click(function () {
            var currImage = jQuery(this).attr('src');
            jQuery('.gallery img').attr('src', currImage);
        });
    }

    var banner = jQuery('section.banner');

    if (banner.length > 0) {
        banner.cycle({
            fx: 'scrollLeft',
            height:526
        });
    }

});